<script setup>
    import MyPanel from './component/MyPanel.vue';
</script>

<template>
  <div>
    <MyPanel>
      <template v-slot:title>
        <h4>提示</h4>
      </template>
      <template #content="obj">
        <p>请不要删除页面缓存！</p>
        <p>声明人：{{ obj.userName }}</p>
      </template>
      <template #btn>
        <button>确认</button>
        <button>取消</button>
      </template>
    </MyPanel>
  </div>
</template>
<style scoped>
</style>